<template>
<div>
  <div class="d-form-group d-form-group-flex d-col-xs-12">
    <div class="d-form-label d-text-right">
      <label class="label-text">窗口标题</label>
    </div>
    <div class="d-form-el">
      <input v-model="data.title" class="d-form-input" type="text" />
    </div>
  </div>
  <div class="d-form-group d-form-group-flex d-col-xs-12">
    <div class="d-form-label d-text-right">
      <label class="label-text">窗口内容</label>
    </div>
    <div class="d-form-el">
      <textarea v-model="data.content" class="d-form-textarea"></textarea>
    </div>
  </div>
</div>
</template>

<script>
export default {
  props: {
    data: {
      type: Object,
      default () {
        return {
          type: ''
        }
      }
    }
  },

  model: {
    prop: 'operation'
  },

  data () {
    return {

    }
  }
}
</script>

<style scoped>
.d-form-label {
  width: 90px;
}
.d-form-textarea {
  min-height: 120px;
}
</style>
